package com.april.pattern.behavioral.mediator;

import lombok.*;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/09 12:04
 * @description
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    private String name;

    public void sendMessage(String message) {
        StudyGroup.showMessage(this, message);
    }
}
